package com.dynamic.mybatis.core.exceptions;

/**
 * @Description
 * @Author xs
 * @Date 2023/4/7 12:10
 */
public class MyBatisMappedStatementNotPresentException extends RuntimeException {
    private String mappedStatementId;


    public MyBatisMappedStatementNotPresentException(String message) {
        super(message);
    }

    public MyBatisMappedStatementNotPresentException(String mappedStatementId, String message) {
        super(message);
        this.mappedStatementId = mappedStatementId;
    }

    public MyBatisMappedStatementNotPresentException(String message, Throwable cause) {
        super(message, cause);
    }

    public String getMappedStatementId() {
        return mappedStatementId;
    }

    public void setMappedStatementId(String mappedStatementId) {
        this.mappedStatementId = mappedStatementId;
    }
}